class AIFaceDiscountEntity {
  int? count;
  int? price;
  AIFaceDiscountInfo? coupon;

  static AIFaceDiscountEntity fromMap(Map<String, dynamic>? map) {
    map ??= {};
    AIFaceDiscountEntity adsInfoBean = AIFaceDiscountEntity();
    adsInfoBean.count = map['count'];
    adsInfoBean.price = map['price'];
    adsInfoBean.coupon = AIFaceDiscountInfo.fromMap(map['coupon']);
    return adsInfoBean;
  }

}


class AIFaceDiscountInfo {
  String? id;
  int? uid;
  String? goodsName;
  int? goodsType;
  int? goodsValue;
  String? goodsOrigin;
  String? goodsDesc;
  int? status;
  String? expiredTime;
  String? useTime;
  String? createTimt;
  static AIFaceDiscountInfo fromMap(Map<String, dynamic>? map) {
    map ??= {};
    AIFaceDiscountInfo adsInfoBean = AIFaceDiscountInfo();
    adsInfoBean.id = map['id'];
    adsInfoBean.uid = map['uid'];
    adsInfoBean.goodsName = map['goodsName'];
    adsInfoBean.goodsType = map['goodsType'];
    adsInfoBean.goodsValue = map['goodsValue'];
    adsInfoBean.goodsOrigin = map['goodsOrigin'];
    adsInfoBean.goodsDesc = map['goodsDesc'];
    adsInfoBean.status = map['status'];
    adsInfoBean.expiredTime = map['expiredTime'];
    adsInfoBean.useTime = map['useTime'];
    adsInfoBean.createTimt = map['createTimt'];

    return adsInfoBean;
  }

}